<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>index</title>
    <link rel="stylesheet" href="../libs/bootstrap/css/bootstrap.min.css">
</head>
<body ng-app="myApp" ng-controller="MyController">
    <div class="container">
        <table class="table">
            <thead>
                <tr>
                    <th>姓名</th>
                    <th>年龄</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="item in names | filterAge">
                    <td>{{item.name}}</td>
                    <td>{{item.age}}</td>
                </tr>
            </tbody>
        </table>
    </div>
</body>
</html>

<script src="../libs/AngularJS.min.js"></script>
<script src="../libs/jquery3_1_1.min.js"></script>
<script src="js/index.js"></script>